Map Control Methods
Description
Available methods for a Map Control Object.
Discussion
To get a Map Control object, use the {dialog.object}.getControl method:
- Name
- Description
- mapControl.addMarker Method
Adds a marker to a Map Control.
- mapControl.clearRoute Method
Clears a route previously plotted in a Map Control.
- mapControl.deemphasizeMarker Method
Deemphasize a marker.
- mapControl.deemphasizeMarkerGroup Method
Deemphasize a marker group.
- mapControl.emphasizeMarker Method
Emphasize (bounce) a marker. If a duration is specified, the marker will automatically be deemphasized after the specified duration.
- mapControl.emphasizeMarkerGroup Method
Emphasize (bounce) a marker group. If a duration is specified, the marker group will automatically be deemphasized after the specified duration.
- mapControl.getMarkerGroupPositions Method
Get the latitude/longitude of all the markers in one or more marker groups on the map.
- mapControl.getMarkerPositions Method
Get the latitude/longitude of all the one or more markers on the map.
- mapControl.getRoute Method
Returns a route object with information about the route plotted on the Map Control.
- mapControl.plotRoute Method
Plots a route on a Map Control through at least two locations.
- mapControl.refresh Method
Refreshes a Map Control.
- mapControl.removeMarker Method
Remove a marker from a Map Control.
- mapControl.removeMarkerGroup Method
Removes all markers in a group from a Map Control.
- mapControl.setCenter Method
Set the center of the Map Control's view.
- mapControl.setMarkerDisplay Method
Set the visibility of a marker.
- mapControl.setZoom Method
Set the zoom scale for a Map Control.
- mapControl.showMarkerDetail Method
Opens the marker's info box.
- mapControl.view Method
Adjusts the Map Control's center point and zoom to view multiple latitude/longitude locations.
- mapControl.viewMarkerGroups Method
Adjusts the Map Control's center point and zoom to view one or more markers in the specified marker groups.
- mapControl.viewMarkers Method
Adjusts the Map Control's center point and zoom to view one or more markers.
Example
var mapObj = {dialog.object}.getControl('MYMAP1');
See Also